ohybridproxy: add pending patch for CMake >= 4.0 support
authorChristian Marangi <[email protected]>
Thu, 13 Nov 2025 15:14:25 +0000 (16:14 +0100)
committerChristian Marangi <[email protected]>
Thu, 13 Nov 2025 15:14:25 +0000 (16:14 +0100)
Add pending patch for CMake >= 4.0 support.

Signed-off-by: Christian Marangi <[email protected]>
ohybridproxy/patches/100-CMakeLists-support-CMake-4.0-version.patch [new file with mode: 0644]

diff --git a/ohybridproxy/patches/100-CMakeLists-support-CMake-4.0-version.patch b/ohybridproxy/patches/100-CMakeLists-support-CMake-4.0-version.patch
new file mode 100644 (file)
index 0000000..72e8bb4
--- /dev/null
@@ -0,0 +1,25 @@
+From c1352c9df7f1dea1a86e1deece87cfbff4d04789 Mon Sep 17 00:00:00 2001
+From: Christian Marangi <[email protected]>
+Date: Thu, 13 Nov 2025 16:12:16 +0100
+Subject: [PATCH] CMakeLists: support CMake >= 4.0 version
+
+Bump minimum CMake version to 3.10 to support CMake >= 4.0 version.
+
+Signed-off-by: Christian Marangi <[email protected]>
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 1c970d9..cfb878e 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 2.8)
++cmake_minimum_required(VERSION 3.10)
+ project(ohybridproxy C)
+ set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
+-- 
+2.51.0
+